﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mercury.Entity
{
    /// <summary>
    /// 从表关联主表业务外键
    /// </summary>
    public class BFKAttribute:Attribute
    {
        /// <summary>
        /// 绑定主表类型
        /// </summary>
        public Type BindType { get; set; }

        /// <summary>
        /// 预留=》可绑定多个的时候使用
        /// </summary>
        /// <param name="type"></param>
        public BFKAttribute(Type type)
        {
            BindType = type;
        }

        public BFKAttribute()
        {
                
        }
    }
}
